﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var context=new TestDb())
            {
                var newEntity = new Table()
                {
                    图片原路径 = "asdf",
                    图片名 = "asdf",
                    数据上传时间 = DateTime.Now,
                };
                context.Table.Add(newEntity);
                context.SaveChanges();
            

            }
            Console.WriteLine("done");
            Console.Read();
        }
    }
}
